<table>
    <thead>
    <tr>
        <th>姓名</th> <th>网址</th> <th>标题</th> <th>内容</th> <th>时间</th> <th>操作</th>
    </tr>
    </thead>
    <tfoot>
    <tr>
        <td colspan="6" align="center"><?php echo $paging;?></td>
    </tr>
    </tfoot>
    <tbody>
    <?php foreach ($item_message as $row): ?>
        <tr>
            <td><?php echo $row->name; ?></td>
            <td><?php echo $row->url ?></td>
            <td><?php echo $row->title ?></td>
            <td><?php echo $row->content ?></td>
            <td><?php echo $row->date ?></td>
            <td><a href="<?php echo site_url();?>/message/edit/<?php echo $row->id;?>">编辑</a> &nbsp;&nbsp; <a href="<?php echo site_url();?>/message/del/<?php echo $row->id?>">删除</a></td>
        </tr>
    <?php endforeach ?>
    </tbody>

</table>
